package com.volcreate.week1;

import java.util.Scanner;

/**
 * @author zxc
 * @date 2020/9/20
 */
public class Main7 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        double v = scanner.nextDouble();
        double v1 = i + v;
        System.out.println(v1);
        double sqrt = Math.sqrt(v1);
        System.out.println(sqrt);
        System.out.println(String.valueOf(sqrt).substring(0,6));
    }
}
